import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
/**
 * @description: Request list interface parameters
 */
export type websiteClassificationParams = BasicPageParams;

export interface WebsiteClassificationTree {
  classification_id: string;
  classification_name: string;
  parent_id: string;
  children: object;
}

/**
 * @description: Request list return value
 */
export interface WebsiteClassification {
  articleId: string;
  articleTitle: string;
  articleContent: string;
  indexOrder: string;
  articleType: string;
  coverImage: string;
  pushStatus: string;
  delFlag: string;
  createTime: string;
  createBy: string;
  updateTime: string;
  updateBy: string;
}

export interface WebsiteClassificationTableRecord {
  records: WebsiteClassification[];
  current: number;
  pages: number;
  size: number;
  total: number;
}

/**
 * @description: Request list return value
 */
export type WebsiteClassificationModel = BasicFetchResult<WebsiteClassification>;

export type WebsiteClassificationTableRecordModel = BasicFetchResult<WebsiteClassificationTableRecord>;
export type WebsiteClassificationTreeModel = BasicFetchResult<WebsiteClassificationTree>;
